package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {


    PageBean<RoleVo> pageQuery(Integer pageNum, Integer pageSize, RoleDto dto);

    void create(RoleDto dto);

    List<Long> findCheckedResources(Long roleId);

    void updateRole(RoleDto dto);

    void delete(List<Long> roleIds);

    List<RoleVo> initRoles();

}
